const state = {
    dictionary: {
        1: '原材料',
        2: '半成品',
        3: '管阀件产品及附件',
        4: '集成类产品',
        9: '非拓力泰品牌产品（贸易）',
        11: '管道',
        12: '锻件',
        19: '包装耗材',
        21: '阀门元件',
        22: '管接头元件',
        23: '密封件',
        24: '配件',
        31: '仪表阀门',
        32: '管接头',
        33: '管道',
        34: '安装附件',
        35: '仪表辅助设备',
        41: '气源分配类',
        43: '抗振管路系统',
        91001: '北京精波仪表',
        91017: '承德菲时博特',
        91019: 'Parker',
        91022: '宁波奥崎仪表',
        91030: 'FITOK',
        91031: 'Swagelok',
        91036: '天津绿清',
        91038: '沃尔士环控系统工程',
        91046: '重庆布莱迪',
        91051: 'ABB',
        91056: '梅思安',
        91059: '其他',
    },
};

const getters = {
    lookupDic: (state) => (val) => {
        let ret = state.dictionary[val];
        return ret ? (val+' '+ret) : val;
    }
};

const mutations = {};

const actions = {};

export default {
    state,
    getters,
    mutations,
    actions
}